<template>
    <div class="results_content">
        <img class="results_img" src="https://oneredhealth.oss-cn-hangzhou.aliyuncs.com/2023/11/23/05d6532957c247c8a2193a678cef1a91.png" alt="" />
        <div class="results_t" v-if="workState == '1'">
            您的申请已提交，<br />请静待客服联系您！
        </div>
        <div class="results_t" v-if="workState == '2'">
            您的申请已审核，<br />请静待客服联系您！
        </div>
		<div class="results_t" v-if="workState == '3'">
		    恭喜您激活成功
		</div>
        <div class="results_btn" @click="workState == '3' ? toIn() : know()">我知道了</div>
    </div>
</template>

<script>
export default {
    data() {
        return {
			workState:''
		};
    },
	onLoad(options) {
		console.log(options,'op>>>')
		this.workState = options.workState;
	},
    methods: {
        know() {
			console.log(111)
            uni.navigateBack({
                delta: 2,
            });
        },
		toIn(){
			uni.reLaunch({
				url: "/pages/counselling/index"
			})
		}
    },
};
</script>

<style scoped>
* {
    padding: 0;
    margin: 0;
}
.results_content {
    width: 100%;
    height: 100%;
    background: #fff;
    padding-top: 8.375rem;
    text-align: center;
    box-sizing: border-box;
}
.results_img {
    width: 4.75rem;
    height: 4.75rem;
}
.results_t {
    margin-top: 1.75rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: #3d3d3d;
}
.results_btn {
    width: 16.25rem;
    height: 3.1875rem;
    background: linear-gradient(315deg, #e9a656 0%, #fde3b6 100%);
    border-radius: 3.1875rem;
    font-size: 1rem;
    font-weight: 500;
    color: #473920;
    text-align: center;
    line-height: 3.1875rem;
    margin: 3.125rem auto 0;
}
</style>
